/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.wpi.first.wpilibj.team1662.subsystems;

import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;
import edu.wpi.first.wpilibj.team1662.RobotMap;

/**
 *
 * @author programmer
 */
public class Launcher extends Subsystem {
    private Solenoid disengage;
    private Solenoid disengage2;
    
    public Launcher(){
        disengage = new Solenoid(RobotMap.releaseSol);
        disengage2 = new Solenoid(RobotMap.releaseSol2);
    }
    
    public void release(){
        disengage.set(true);
    }
    
    public void lock(){
        disengage.set(false);
    }
    
    public void initDefaultCommand(){
        disengage.set(false);
    }
    
}
